package com.github.zzay.common.feign.config;

import feign.Logger;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author zzay
 * @className FeignLoggingConfig
 * @description OpenFeign Logging Configuration
 * @create 2022/06/06 14:44
 */
@Configuration
public class FeignLoggingConfig {

    /**
     * Logger level of OpenFeign
     *
     * @return logger level of OpenFeign
     */
    @Bean
    Logger.Level openFeignLoggerLevel() {
        return Logger.Level.FULL;
    }

}
